﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DbManager.Query
{
    public class SqlParameter
    {
        private string _name; 
        public string Name 
        { 
            get { return _name; } 
            set { _name = value; } 
        }

        private Type _systemType; 
        public Type SystemType 
        { 
            get { return _systemType; } 
            set { _systemType = value; } 
        }

        private object _value;
        public object Value
        {
            get { return _value; }
            set { _value = value; }
        }

        public bool CanBeNull()
        {
            if (_systemType == null && _value == null)
                return true;
            return false;
        }
    }
}
